package com.onlinesys.service;

import java.sql.SQLException;
import java.util.List;

import com.onlinesys.beans.DrawingNumInfo;

public interface DrawingNumberMgrService {

    public List<DrawingNumInfo> getDrawingNumberInfo(int startRow, int pageSize) throws SQLException;
    
    public int getDrawingNumberTotalCount() throws SQLException;
    
    public List<DrawingNumInfo> searchDrawingNumberInfo(int startRow, int pageSize, DrawingNumInfo drawingNum) throws SQLException;
    
    public int searchDrawingNumberTotalCount(DrawingNumInfo drawingNum) throws SQLException;
    
    public void addNewDrawingNum(DrawingNumInfo drawingNumInfo) throws SQLException;
    
    public void updateDrawingNum(DrawingNumInfo drawingNumInfo) throws SQLException;
    
    public void deleteDrawingNum(int id) throws SQLException;
}
